﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using XDL.Framework.Screens;
using Microsoft.Xna.Framework;

namespace JumpNFight.Screens
{
    class IndexedMenuItem : MenuItem
    {
        public PlayerIndex Index
        {
            get;
            private set;
        }

        /// <summary>
        /// Constructs a new menu entry with the specified text.
        /// </summary>
        /// <param name="text">Menu entry text</param>
        public IndexedMenuItem(PlayerIndex index, string text):
            base(text)
        {
            this.Index = index;
        }     
    }
}
